package com.gxc.healthfood.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 用户通知设置表
 * @TableName user_notification_settings
 */
@TableName(value = "user_notification_settings")
@Data
public class UserNotificationSettings implements Serializable {
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户ID
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 每日提醒
     */
    @TableField(value = "daily_reminder")
    private Boolean dailyReminder;

    /**
     * 体重提醒
     */
    @TableField(value = "weight_reminder")
    private Boolean weightReminder;

    /**
     * 膳食计划更新通知
     */
    @TableField(value = "meal_plan_update")
    private Boolean mealPlanUpdate;

    /**
     * 健康小贴士
     */
    @TableField(value = "health_tips")
    private Boolean healthTips;

    /**
     * 创建时间
     */
    @TableField(value = "created_at")
    private Date createdAt;

    /**
     * 更新时间
     */
    @TableField(value = "updated_at")
    private Date updatedAt;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}